package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    Integer getCountByPlanId(Long id);

    List<NursingLevelVo> select();

    void insert(NursingLevel nursingLevel);

    Page<NursingLevelVo> selectByPage(String name, Integer status);

    NursingLevel selectById(long id);

    void update(NursingLevel nursingLevel);

    void deleteById(Long id);

    void modifyStatus(Long id, Integer status);
}

